html {
    height: 100%;
    width: 100%;
}

body {
    padding: 0px;
    margin: 0px;
    width: 100%;
    height: 81%;
}

input[type=text],
input[type=password] {
    background: #FFF8DC;
    width: 200px;
    height: 30px;
    border: solid 2px #3a3a3a;
    border-top: solid 2px #000000;
    border-left: none;
    -moz-border-radius: 8px;
    -webkit-border-radius: 8px;
}

#header {
    padding: 14px 25px;
    text-align: right;
}

#controls {
    display: inline-block;
    width: 270px;
}

#login_button,
#reg_button,
#logout_button{
    font-family: Comic Sans;
    color: #000000;
    font-size: 16px;
    /*background: url("/img/reg-button.jpg") no-repeat #ffffff;*/
    /*background-size: 100% 100%;*/
    display: inline-block;
    width: 126px;
    height: 40px;
    text-align: left;
    cursor: pointer;
    margin: 0 2px;
    font-weight: normal;
}

#login_button {
    background: url("/img/log_standart.png") no-repeat #ffffff;
    background-size: 100% 100%;
}

#reg_button {
    background: url("/img/reg_standart.png") no-repeat #ffffff;
    background-size: 100% 100%;
}

#login_button:hover {
    background: url("/img/log_hover.png") no-repeat #ffffff;
    background-size: 100% 100%;
}
#reg_button:hover {
    background: url("/img/reg_hover.png") no-repeat #ffffff;
    background-size: 100% 100%;
}

#login_button:active {
    background: url("/img/log_pressed.png") no-repeat #ffffff;
    background-size: 100% 100%;
}
#reg_button:active {
    background: url("/img/reg_pressed.png") no-repeat #ffffff;
    background-size: 100% 100%;
}

#logout_button {
    background: url("/img/logout-standart.png") no-repeat #ffffff;
    background-size: 100% 100%;
    width: 70px;
    height: 26px;
}

#logout_button:hover {
    background: url("/img/logout-hover.png") no-repeat #ffffff;
    background-size: 100% 100%;
}
#logout_button:active {
    background: url("/img/logout-pressed.png") no-repeat #ffffff;
    background-size: 100% 100%;
}

#content {
    position: relative;
    margin-top: -140px;
    text-align: center;
    top: 40%;
}

#search {
    position: relative;
    display: inline-block;
    width: 800px;
}

#field {
    float: left;
    width: 700px;
    height: 30px;
    margin-right: 15px;
    text-indent: 10px;
    font-family: arial, sans-serif;
    font-size: 20px;
    color: #333;
    background: #fff;
    border: solid 1px #000000;
    border-top: solid 1px #000000;
    border-right: solid 1px #000000;
    outline: none;
}

#submit {
    float: left;
    cursor: pointer;
    width: 60px;
    height: 35px;
    line-height: 70;
    text-indent: 99px;
    color: transparent;
    background: url("/img/magnifier.png") no-repeat #ffffff center;
    border: 1px solid #000000;
    -moz-border-radius: 7px;
    -webkit-border-radius: 7px;
}

#submit:hover {
    background: url("/img/magnifier.png") no-repeat center #FFFFFF;
    border: 1px solid #5d1413;
    -webkit-box-shadow: 2px 2px 1px rgb(90, 39, 12);
    -moz-box-shadow: 2px 2px 1px rgba(93, 20, 19, 0.86);
    box-shadow: 2px 2px 1px rgba(0, 0, 0, 0.85);
}